@extends('Admin.layouts.application')
@section('content')
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-cf am-padding am-padding-bottom-0">
                <div class="am-fl am-cf">
                    <strong class="am-text-primary am-text-lg">分类信息</strong> /
                    <small>Create A New Category</small>
                </div>
            </div>

            <hr>
                {!! csrf_field() !!}

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        接口名称
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <label>getCategoryList</label>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*</div>
                </div>
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        接口用途
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <label>分类信息</label>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*</div>
                </div>
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        method
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <label>get</label>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*</div>
                </div>

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        接口地址
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        <label>/api/getCategoryList</label>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*</div>
                </div>

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        输入参数
                    </div>
                    <div class="am-u-sm-12 am-u-md-8 am-u-end">
                        <table class="am-table am-table-striped am-table-hover table-main">
                            <thead>
                            <tr>

                                <th class="table-thumb">key</th>
                                <th class="table-title">参数类型</th>
                                <th class="table-title">是否必须</th>
                                <th class="table-title">参数解释</th>
                            </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>token</td>
                                    <td>string</td>
                                    <td>是</td>
                                    <td>会话标识</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>

                </div>
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        返回数据
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                        @if(!empty($data))
                            {{json_encode($data,JSON_UNESCAPED_UNICODE)}}
                        @endif
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*</div>
                </div>
        </div>

        @include('Admin.layouts._footer')
    </div>
@endsection

@section('js')
    <script src="/assets/xSystem/js/jquery.html5-fileupload.js"></script>
    <script src="/assets/xSystem/js/upload.js"></script>
    <script src="/assets/xSystem/vendor/ckfinder/ckfinder.js"></script>
    <script src="/assets/xSystem/js/ck_upload.js"></script>
@endsection
